libxl: builtin list types should be pass-by-reference
authorIan Campbell <ian.campbell@citrix.com>
Tue, 31 Aug 2010 18:16:23 +0000 (19:16 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 31 Aug 2010 18:16:23 +0000 (19:16 +0100)
commit4883b4ee766718b56bfd1806b9cefd0792215e1f
treed3883ca406939a74a1ae0ef2d003c7297c45de69
parenta703824d6d6ff5ddf4f3bc57a81a889de0a97d72
libxl: builtin list types should be pass-by-reference

This makes all _destroy functions consistent wrt freeing the actual
reference passed in. Previously we were relying on the reference
contained within the type itself which worked but was semantically a
little confusing.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl.idl
tools/libxl/libxltypes.py